package cn.liontalk.DecoratorPattern;

/**
 * Created by ZhouZhe on 2018/5/17.
 */
public class AgentB implements  SuperStar {


    private JayZhou jayZhou;

    public AgentB(){
        this.jayZhou = new JayZhou();
    }

    public void joinMeeting(){
        System.out.println("经纪人帮明星开演唱会!");
    }

    public void actingPlay(){
        System.out.println("经济人帮明星做巡演!");
    }


    @Override
    public void sing() {
        jayZhou.acting();
        joinMeeting();;
    }

    @Override
    public void acting() {
        jayZhou.acting();
        actingPlay();
    }
}
